<template>
<div class="layerRtb layerRtb-threecolumn">
    <three-title :title="{name:'摄像头详情'}"></three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "137">
        <div class="analyItem">
            <p class="analyItemTit tx-center" >预留</p>
            <div class="analyItemCon">
                <p class="col-md-4">
                    <span class="cLightGray pr8">预留</span>
                    <span>预留</span>
                </p>
            </div>
        </div>
    </div>
    <div class="layerRtb-footer">
        <div class="analyItem">
            <p class="analyItemTit tx-center">综合</p>
            <div class="analyItemCon">
            </div>
        </div>
    </div>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import {findCompletedProportion} from '../../Resources/Api'
export default {
    data () {
        return {
            proportion: {},
            propor: 0 // 订单数量
        }
    },
    created () {
        this.findCompletedProportion() // 项目经理 订单
    },
    computed: {
        ...mapGetters(['userInfo', 'leftInfo'])
    },
    methods: {
        findCompletedProportion () {
            // this.userInfo.u_diqu 22
            var obj = {
                dqId: this.leftInfo.u_diqu
            }
            findCompletedProportion(obj).then(res => {
                if (res.data.statusCode === 1) {
                    this.proportion = res.data.Body
                    this.propor = res.data.Body.orderList.length
                }
            }).catch(err => {
                console.log(err)
            })
        }

    }
}
</script>
